<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        .container {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }
        
        .childern {
            width: 10vw;
            height: 100px;
            background-color: skyblue;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            margin: 0 2.666667vw;
        }
        
        .container :nth-child(1),
        .container :nth-child(6) {
            flex: 1;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="childern">1</div>
        <div class="childern">2</div>
        <div class="childern">3</div>
        <div class="childern">4</div>
        <div class="childern">5</div>
        <div class="childern">6</div>
    </div>
</body>

</html>